Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate MultiControlPauli #1492

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

anurudhp
Copy link
Contributor

@anurudhp anurudhp commented Nov 10, 2024

All users now use the derived MultiControlX or MultiControlZ instead. I've kept the class around as it has a simpler interface (list of control bits instead of a CtrlSpec), and also supports zero controls (#679).

Fixes #914

@anurudhp anurudhp force-pushed the 2024/11/09-deprecate-mcpauli branch 4 times, most recently from 8d8b9c6 to 51013cf Compare November 11, 2024 18:13
@anurudhp
Copy link
Contributor Author

@mpharrigan ptal

@anurudhp anurudhp force-pushed the 2024/11/09-deprecate-mcpauli branch from 51013cf to dab427a Compare November 11, 2024 22:32
@mpharrigan
Copy link
Collaborator

usually, we'd keep the name as-is and use the warnings.warn(..., DeprecationWarning) thing to show that it's deprecated

@mpharrigan mpharrigan merged commit d92730e into quantumlib:main Nov 27, 2024
8 checks passed
@anurudhp anurudhp deleted the 2024/11/09-deprecate-mcpauli branch November 27, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MultiControlPauli improvements
3 participants